//
// Created by ChenJi on 2021/4/4.
//

#ifndef WARNER_2_STRING_LIBRARY_H
#define WARNER_2_STRING_LIBRARY_H

#endif //WARNER_2_STRING_LIBRARY_H

#include "main.h"

uint8_t mystr_len(uint8_t *uint8_t);

/**
 * from: https://blog.csdn.net/zb774095236/article/details/105637741
 * @author 爬行的菜鸟
 * @param num
 * @param str
 * @param radix
 * @return len of string
 */
uint8_t myitoa(int32_t num, uint8_t *str, uint8_t radix);

int32_t myatoi(uint8_t *str,uint8_t len,uint8_t radix);
uint8_t myitoaFixLen(int32_t num, uint8_t *str, uint8_t radix,uint8_t len);

